package com.ricchieri.service.interf;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.ricchieri.filter.CharterExpenseFilter;
import com.ricchieri.model.CharterExpense;

public interface ICharterExpenseService {
	@Transactional(readOnly = true)
	public List<CharterExpense> getAllCharterExpense();

	public void addCharterExpense(CharterExpense charter);
	
	public void deleteCharterExpense(CharterExpense charter);

	public List<CharterExpense> getAllCharterExpensePaginatedByFilter(
			CharterExpenseFilter charterFilter, int startRecord);

	public int getAllCharterExpenseCountByFilter(CharterExpenseFilter charterFilter);

	public void updateCharterExpense(CharterExpense charter);
}
